<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>

<h1>文件上传Demo</h1>
<hr/>

<form action="/zip" method="post" enctype="multipart/form-data">
    <label for="a_file">单文件上传</label>
    <input type="file" name="file" id="a_file"><br>
    <button>提交</button>
</form>

<hr/>

<form action="/uploadAll" method="post" enctype="multipart/form-data">
    <label for="mall_file">多文件上传</label>
    <input type="file" name="file" id="mall_file" webkitdirectory><br>
    <button>提交</button>
</form>

</body>
</html>